package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.CheckGroup;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface CheckGroupService {

    public Result add(CheckGroup checkGroup,Integer []ids);

    public PageResult findPage(QueryPageBean queryPageBean);

    public Result findById(Integer id);

    public Result findCheckItemIdsByCheckGroupId(Integer checkGroupId);

    public Result addCheckGroupIdAndCheckItem(CheckGroup checkGroup, Integer []checkItemIds);

    public Result findPageAll();

    public Result delete(Integer id);
}
